/* 歌单api */
import request from "@/utils/request"
import store from "@/store"
let cookie = store.state.usercookie
/* 
获取专辑评论
 */
export const getalbumcommentAPI = (id,limit,offset,before) => {
  return request({
    method: "GET",
    url: "/comment/album",
    params: {
      id,
      limit,offset,before,
      cookie,
    },
  })
}

/* 
获取专辑内容
 */
export const getalbumAPI = (id) => {
    return request({
      method: "GET",
      url: "/album",
      params: {
        id,
      
        cookie,
      },
    })
  }


  /* 
获取专辑动态信息
 */
export const getalbumdetailAPI = (id) => {
    return request({
      method: "GET",
      url: "/album/detail/dynamic",
      params: {
        id,
      
        cookie,
      },
    })
  }